home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / d86v223.arc / WINDOW2.DOC < prev    next >
Text File  |  1987-05-04  |  5KB  |  122 lines

  1. ---WINDOW2.DOC---
  2.  
  3. The Extra Display Window
  4.  
  5. When you invoke D86, you get a sign-on message in the upper right 
  6. quadrant of the screen, with a version number, legal terms, and 
  7. my name, address, and phone number.  The contents of this 
  8. quadrant may be toggled by two keys:
  9.  
  10. One key, Alt-F10, toggles you between help and non-help modes.  
  11. (On the Wang-PC the key is HELP; on the TI-PC, the key is F11; 
  12. on the Sanyo, the key is CTRL-PF5.)
  13.  
  14. Another key, F10, toggles you between the windows of whatever 
  15. mode (help or non-help) you are in.  In other words, if you are 
  16. in help mode, and there is more than one window-full of help 
  17. available, F10 will toggle you through the help-windows.  If you 
  18. are in non-help mode, F10 will toggle you through the non-help 
  19. windows.
  20.  
  21.  
  22. Non-Help Windows Now Available
  23.  
  24. In this preliminary version of D86, there are only 3 non-help 
  25. windows available.  One is the sign-on window.  The second is a 
  26. blank window.  The third, available only if you have a floating-
  27. point chip (8087 or 287) in your computer, displays the floating-
  28. point state.
  29.  
  30.  
  31. The Floating-Point Display Window
  32.  
  33. NOTE: The following description does not attempt to teach you the 
  34. meanings of the various fields of the 87-- if you don't know them 
  35. all, you'll be confused by some of the descriptions.  If you wish 
  36. to learn all the gory details, a good book is "The 80286 
  37. Architecture", by Morse and Albert, Chapter 4.
  38.  
  39. The floating-point display contains the following components:
  40.  
  41. 1. The top 8 lines contain the contents of each floating-point
  42.    register.  The registers are displayed as a stack, with ST(0) 
  43.    on top, numbered with "0:".  The possible displays for 
  44.    register contents are: 
  45.  
  46.    ---- denoting a stack slot tagged empty.
  47.  
  48.    a decimal number, displayed in scientific notation if 
  49.         necessary.
  50.  
  51.    Infinity for an overflowed result.
  52.  
  53.    NaN for Not a Number, followed by the hexadecimal codes of
  54.         the significand field of the NaN
  55.  
  56.    Unn for unnormal, followed by the number of bits of precision 
  57.         lost.  I'll add a display of the value in a later D86.
  58.  
  59.    Den for denormal, followed by the number of bits of precision 
  60.         lost.  I'll add a display of the value in a later D86.
  61.  
  62.    Pseudo 0 for a pseudo zero, followed by the contents of the 
  63.         exponent field.
  64.  
  65. 2. English-language displays for the infinity, precision, and 
  66.    rounding mode settings for the chip. 
  67.  
  68. 3. The value of the instruction pointer for the instruction that 
  69.    caused the last floating-point exception.  If all exceptions 
  70.    are masked this doesn't change. 
  71.  
  72. 4. The address of the memory operand for the instruction that 
  73.    caused the last floating-point exception.  If all exceptions 
  74.    are masked this doesn't change either.
  75.  
  76. 5. The value of the Tag register, for registers 7 through 0.  
  77.    These register numbers are NOT the same as the stack element 
  78.    numbers-- they are rotated by the value of ST, given on the 
  79.    next line.  The possible values for the Tag register fields 
  80.    are:
  81.  
  82.    f   for finite non-zero number
  83.    z   for zero
  84.    i   for infinite number
  85.    -   for empty slot
  86.  
  87. 6. The value of the stack pointer ST.  The tag-register number 
  88.    for ST(i) is ST plus i.
  89.  
  90. 7. A display of which 87 exceptions are masked, and thus will not 
  91.    cause interrupts.  If the exception is masked, its letter is 
  92.    displayed.  If it is not masked (interrupt will occur), a 
  93.    blank is displayed.  The letters are:
  94.  
  95.    p  for precision exception
  96.    u  for underflow exception
  97.    o  for overflow exception
  98.    z  for zero-divide exception
  99.    d  for denormal exception
  100.    i  for invalid operation exception
  101.  
  102. 8. A display of which masked exceptions have occurred since the 
  103.    last time the status bits were cleared.  The exceptions have 
  104.    the same letters as the masked-display.
  105.  
  106. 9. A display of the 87 Condition Flags C3 through C0.  A 
  107.    displaying character is shown if the flag is set; a blank is 
  108.    shown if the flag is cleared.  The characters are:
  109.  
  110.    z  for C3  (corresponds to the Zero flag)
  111.    u  for C2  (set if a result is "unordered")
  112.    .  for C1
  113.    c  for C0  (corresponds to the Carry flag)
  114.  
  115. 10. Another display of C3 through C0, this time showing the 
  116.    results of an FXAM instruction.  This display is always 
  117.    present, even when FXAM is not the last flag-setting 
  118.    instruction executed (in which case the display is 
  119.    meaningless).
  120.  
  121.  
  122.